let ReadStream = require("./readStream")
let WriteStream = require("./writeStream")
let fs = require('fs')

let rs = new ReadStream('./1.txt', {
    start:3,
    end: 8,
    highWatermark: 3
})

let ws = fs.createWriteStream('./2.txt', {
    highWaterMark: 3
})

rs.pipe(ws)




